home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cato / Xm / XmAddProtocolCallback.z / XmAddProtocolCallback
Text File  |  1998-10-20  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk - A VendorShell function that adds
  10.           client callbacks for a protocol
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////XXXXmmmm....hhhh>>>>
  14.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////PPPPrrrroooottttooooccccoooollllssss....hhhh>>>>
  15.  
  16.           vvvvooooiiiidddd XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk ((((_s_h_e_l_l, _p_r_o_p_e_r_t_y, _p_r_o_t_o_c_o_l, _c_a_l_l_b_a_c_k, _c_l_o_s_u_r_e))))
  17.                WWWWiiiiddddggggeeeetttt      _s_h_e_l_l;;;;
  18.                AAAAttttoooommmm        _p_r_o_p_e_r_t_y;;;;
  19.                AAAAttttoooommmm        _p_r_o_t_o_c_o_l;;;;
  20.                XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc_c_a_l_l_b_a_c_k;;;;
  21.                XXXXttttPPPPooooiiiinnnntttteeeerrrr   _c_l_o_s_u_r_e;;;;
  22.  
  23.           vvvvooooiiiidddd XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk ((((_s_h_e_l_l, _p_r_o_t_o_c_o_l, _c_a_l_l_b_a_c_k, _c_l_o_s_u_r_e))))
  24.                WWWWiiiiddddggggeeeetttt      _s_h_e_l_l;;;;
  25.                AAAAttttoooommmm        _p_r_o_t_o_c_o_l;;;;
  26.                XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc_c_a_l_l_b_a_c_k;;;;
  27.                XXXXttttPPPPooooiiiinnnntttteeeerrrr   _c_l_o_s_u_r_e;;;;
  28.  
  29.  
  30.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  31.           This page documents version 1.2 of the Motif library.
  32.  
  33.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  34.           XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk adds client callbacks for a protocol.
  35.           It checks if the protocol is registered, and if it is not,
  36.           calls XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllssss.  It then adds the callback to the
  37.           internal list.  These callbacks are called when the
  38.           corresponding client message is received.
  39.  
  40.           XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk is a convenience interface.  It
  41.           calls XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk with the property value set to
  42.           the atom returned by interning WWWWMMMM____PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLLSSSS.
  43.  
  44.  
  45.           _s_h_e_l_l  Specifies the widget with which the protocol property
  46.                  is associated.
  47.  
  48.           _p_r_o_p_e_r_t_y
  49.                  Specifies the protocol property.
  50.  
  51.           _p_r_o_t_o_c_o_l
  52.                  Specifies the protocol AAAAttttoooommmm (or an iiiinnnntttt type cast to
  53.                  AAAAttttoooommmm).
  54.  
  55.           _c_a_l_l_b_a_c_k
  56.                  Specifies the procedure to call when a protocol
  57.                  message is received.
  58.  
  59.           _c_l_o_s_u_r_eSpecifies the client data to be passed to the
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX))))
  71.  
  72.  
  73.  
  74.                  callback when it is invoked.
  75.  
  76.  
  77.           For a complete definition of VendorShell and its associated
  78.           resources, see VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll((((3333XXXX)))).
  79.  
  80.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  81.           VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll((((3333XXXX)))), XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllssss((((3333XXXX)))),
  82.           XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX)))), and XXXXmmmmIIIInnnntttteeeerrrrnnnnAAAAttttoooommmm((((3333XXXX)))).
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.